package com.zg.core.global

import android.annotation.SuppressLint
import android.app.Application

/***
 * @Author:      zxd
 * @CreateDate:  2021/7/6 13:29
 * @Description:
 */
@SuppressLint("PrivateApi")
object AppGlobal {

    val sApplication by lazy {
        Class.forName("android.app.ActivityThread")
            .getMethod("currentApplication")
            .invoke(null) as Application
    }
}